/*
 * vip中用到的模板资源，追加在免费邮箱的模板资源之后
 */

var vipMainTemplate = '<div id="center"><div id="welcome">'
	// 用户个人信息区域
	+'<div id="info" class="info clear"></div>'
	// tab内容区域
	+'<div class="commend">'
	+'<div class="tab"><div class="tab-item tab-focus s_tab_switch" index="0">贵宾区</div><div class="tab-item s_tab_switch" index="1">商务通</div><div class="tab-item s_tab_switch" index="2">网络U盘</div><div class="tab-item s_tab_switch" index="3">手机邮件</div></div>'
	
	+'<div class="tabcontent">'
	+'<div>'
	+'<div style="margin:4px auto;"><span>贵宾区——享受与各行业知名网站的双重VIP身份。</span><span style="margin-left:40px;"><a href="javascript:;" class="s_vip_special">更多>></a></span></div>'
	+'<div><div class="aimg cd-vip1 s_vip_special"></div><div class="aimg cd-vip2 s_vip_special"></div><div class="aimg cd-vip3 s_vip_special"></div></div>'
	+'</div>'
	
	+'<div style="display:none;">'
	+'<div style="margin:4px auto;"><span>商务通——您的24小时商务管家，全方位贴心服务。</span><span style="margin-left:40px;"><a href="javascript:;" class="s_vip_business">更多>></a></span></div>'
	+'<div>'
	+'<div class="cd-business-item" align="center"><div class="cdb-img"><div class="aimg cd-business1 s_translate_demo"></div></div><div>在线全文翻译</div></div>'
	+'<div class="cd-business-item" align="center"><div class="cdb-img"><div class="aimg cd-business2 s_map_demo"></div></div><div>在线地图</div></div>'
	+'<div class="cd-business-item" align="center"><div class="cdb-img"><div class="aimg cd-business3 s_pop_demo"></div></div><div>超级邮霸</div></div>'
	+'</div>'
	+'</div>'
	
	+'<div style="display:none;">'
	+'<div class="cdu-img" align="center"><a target="_blank" href="http://u.sohu.com"><div class="aimg cd-udisk s_udisk_entrance"></div></a></div>'
	+'<div class="cdu-ct">'
	+'<div>网络U盘——存储、上传、下载、共享为一体的网络空间。</div>'
	+'<div>'
	+'<div class="cdu-ct-area"><div><b>·</b> VIP邮箱绑定账号</div><div><b>·</b> 1G临时存储空间</div><div><b>·</b> 文件批量上传/下载</div></div>'
	+'<div class="cdu-ct-area"><div><b>·</b> 好友共享文件</div><div><b>·</b> 百兆永久存储空间</div><div><b>·</b> 多文件打包下载</div></div>'
	+'</div>'
	+'</div>'
	+'</div>'
	
	+'<div style="display:none;">'
	+'<div class="cdu-img cdm-img s_mobile_mail" align="center"><div class="aimg cd-mobile"></div></div>'
	+'<div class="cdu-ct">'
	+'<div>手机邮件——您的随身“口袋”邮箱。</div>'
	+'<div class="cdm-ct-area">'
	+'<div>1) 开通手机邮件，获赠<span style="color:red;">无限量</span>邮箱空间</div>'
	+'<div>2) 新邮件到达提醒，方便自如收、发邮件</div>'
	+'<div>3) 与VIP邮箱账号绑定，手机支付，简便快捷</div>'
	+'</div>'
	+'</div>'
	+'</div>'
	
	+'</div>'
	+'</div>'
	// tab内容区域结束
	
	// vip常见问题解答区域
	+'<div class="info clear">'
	+'<div style="width:190px;height:120px;float:left;"><iframe style="width:100%;height:100%;border:0px;" frameborder="0" scrolling="no" src="/static/ad/vip_welcome_faq.html"></iframe></div>'
	+'<div style="width:250px;height:120px;float:left;"><iframe style="width:100%;height:100%;border:0px;" frameborder="0" scrolling="no" src="/static/ad/vip_welcome_mod.html"></iframe></div>'
	+'<div></div>'
	+'</div>'
	
	+'</div>'
	
	+'<div class="other-module">'
	+'<div id="weather" class="weather"></div>'
	
	+'<div class="pop-main">'
    +'<div class="s_daishoumanage" style="cursor:pointer;"><b>超级邮霸</b></div>'
    +'<div>( 代收、管理其他邮箱信件 )</div>'
    +'<div><input id="pop_input_id" type="text" class="in-txt" value="yourname@21cn.com" /></div>'
    +'<div class="sico"><input class="s_create_pop" type="button" value="下一步" /></div>'
	+'</div>'
	
	+'<div id="stock_module" class="stock-main">'
	+'</div>'
	
	+'</div>'
	
	+'</div>';
	
	
	
var weatherTemplate = '<p>#{time}</p>'
	+'<span><b>#{city}天气预报</b>&nbsp;&nbsp;<a href="http://www.sogou.com/features/weather.jsp" target="_blank"><b>其它</b></a></span>'
	+'<div class="picText"><div class="w84">今天<br />'
	+'<img src="#{todayphoto}" width="32" height="24" border="0" alt="" title="" /><br />'
	+' #{todayweather}<br />#{todaylow}℃～#{todayhigh}℃<br /></div>'
    +'<div class="w84">明天<br />'
	+'<img src="#{tomorrowphoto}" width="32" height="24" border="0" alt="" title="" /><br />'
	+'#{tomorrowweather}<br />#{tomorrowlow}℃～#{tomorrowhigh}℃<br /></div></div>';
	
	
// 重写写信页面的模板
var writeMailTemplate = '<table cellpadding=0 cellspacing=0 class="writemail-table"><tbody>'
	+'<tr><td colspan=2>'
	+'<dl id="top_operate_area" class="operate">'
	+'</dl>'
	+'</td></tr>'
	+'<tr>'
	+'<td>'
	+'<div id="writemail_area" class="write" style="background-color: white;">'
	+'<div>'
	+'<ul id="mail.from" style="display:none;">'
	+'</ul>'
	+'<ul>'
	+'<li><b style="font-weight:normal">收件人：</b><input tabindex="1"  type="text" class="input" id="compose.wto" AUTOCOMPLETE="off" name="To" value=""/>'
	+'<p id="static_cc"><a hidefocus="true" href="./main" class="black s_show_mailcc">抄送</a></p>'
	+'<p id="static_bcc"><a hidefocus="true" href="./main" class="black s_show_mailbcc">密送</a></p>'
	+'<p id="static_single"><a hidefocus="true" class="s_single_send black" style="cursor:pointer;" send="true">分送</a></p>'
	+'<input  type="hidden" class="input"   id="securityCode"  value=""/>'
	+'</li>'
	+'</ul>'
	+'<ul id="mail.cc" style="display:none">'
	+'<li>抄　送：<input type="text" class="input" id="compose.wcc" AUTOCOMPLETE="off" name="Cc" value=""/>'
	+'</ul>'
	+'<ul id="mail.bcc" style="display:none">'
	+'<li>密　送：<input type="text" class="input" id="compose.wbcc" AUTOCOMPLETE="off" name="Bcc" value=""/>'
	+'</ul>'
	+'<ul>'
	+'<li>主　题：<input tabindex="2" name="Subject" id="compose.subject" type="text" class="input subject" value="" /></li>'
	+'</ul>'
	+'</div>'
	// 普通邮件的操作区域
	+'<div id="write_common_mail" style="clear:both;">'
	// 上传附件，定时发送区域
	+'<div style="clear:both;">'
	+'<div class="operation">'
	+'<div class="file-upload">'
	+'<div id="upload_file_area" class="area">'
	+'<span class="am upload-fileicon"></span>'
	+'<span id="upload_pointer" style="position:relative;"><span>上传附件</span><span style="color:#666666;" id="ID_MAX_ATT_SIZE"> ( 可上传10M )</span><span id="gears_notify"></span></span>'
	+'<div id="upload_iframe_content" class="form"></div>'
	+'</div>'
    +'<div id="ID_WRITEMAIL_CALLUDISK" style="float:left;cursor:pointer" onclick="udisk.getList()"><span class="am upload-fileicon"></span>U盘附件</div>'
	+'<div style="float:left;cursor:pointer;margin-left:5px" id="build_new_bsm" onclick="changePanel(\'mailConfiguration\', \'businessMailDemo\');" title="智能邮件定制，维系您的客户关系网"><img src="' +MailConst.ALL + '/spacer.gif" class="am icon-businessmail" align="absmiddle" ><a href="javascript:;" onclick="return false;" >新建商信计划</a></div>'	
	+'</div>'
	+'</div>'
	+'<div style="margin-left:16px;width:92%;"><div id="uploadInfoDIV" style="white-space:nowrap;width:100%;display:none;"></div></div>'
	+'</div>'
	+'<div id="write_letter_operate" style="clear:both;width:100%;display:none;"></div>'
	+'<div style="clear:both;border:1px solid #E1E1E1;">'
	+'<div id="compose.mess1" style="padding:0px;margin:0px;width:100%;" tabindex="3">'
	+'<div id="ineditor" tabindex="3" style="clear:both;"></div>'
	+'</div>'
	+'<div id="compose.mess2" style="width:100%;display:none;">'
	+'<div class="html-editor">'
	+'<div class="operate-bar">'
	// +'<div class="item-disable"><a hidefocus="true" class="am item-bold"></a></div>'
	// +'<div class="item-disable"><a hidefocus="true" class="am item-justifyleft"></a></div>'
	// +'<div class="item-disable item-disable-font"><a hidefocus="true" class="am item-fontselect"><span class="text-in">字体</span></a></div>'
	// +'<div class="item-disable item-disable-font"><a hidefocus="true" class="am item-fontsizeselect"><span class="text-in">字号</span></a></div>'
	// +'<div class="item-disable"><a hidefocus="true" class="am item-forecolor"></a></div>'
	// +'<div class="item-disable"><a hidefocus="true" class="am item-insertimage"></a></div>'
	// +'<div class="item-disable"><a hidefocus="true" class="am item-createlink"></a></div>'
	// +'<div class="item-disable"><a hidefocus="true" class="am item-sign"></a></div>'
	// +'<div class="item-disable item-disable-letter"><a hidefocus="true" class="am item-letter"></a><span class="text-out">信纸</span></div>'
	// +'<div class="item-disable item-disable-line"><div class="am item-line"></div></div>'
	// +'<div class="item-disable item-disable-postcard s_use_postcard" style="cursor:pointer;" title="使用明信片"><a hidefocus="true" class="am item-postcard"></a><span class="text-out">使用明信片</span></div>'
	// +'<div class="item-disable item-disable-line"><div class="am item-line"></div></div>'
	// +'<div class="item-disable item-disable-convey s_use_convey" style="cursor:pointer;" title="使用魔法情书"><a hidefocus="true" class="am item-convey"></a><span class="text-out">使用魔法情书</span></div>'
	+'<div class="item-disable item-edit item-bold s_editor_change"> 多媒体 </div>'
	+'</div>'
	+'<textarea id="editor.mess2" tabindex="3" class="text-editor"></textarea>'
	+'</div>'
	+'</div>'
	+'</div>'
	+'<div style="width:75px;float:left;"><input style="vertical-align:-3px;" class="disposition_checkbox" id="disposition_notifier" type="checkbox">要求回执</div>'
	+'<div>'
	+'<span class="send-time m-l fix-ie6" ><input id="sot_control" type="checkbox" /></span>'
	+'<span class="send-time"> 定时发送 </span>'
	+'<span id="sohu_sot_container" class="send-time fix-ie6" style="display:none;">'
	+'<select id="sot_ui_year"> </select> 年'
	+'<select id="sot_ui_month"></select>月'
	+'<select id="sot_ui_day"></select>日'
	+'<select id="sot_ui_hour"> </select> 时'
	+'<select id="sot_ui_min"> </select>分'
	+'</span>'
	+'</div>'
	+'</div>'
	// 普通写信操作部分的结束
	
	+'</div>'
	+'</td>'
	+'<td>'
	+'<div id="address" class="address"></div>'
	+'</td></tr>'
	+'<tr><td colspan=2>'
	+'<dl id="bottom_operate_area" class="operate2" style="clear:both;">'
	+'</dl>'
	+'</td></tr>'
	+'</tbody></table>';
	
